package com.hucheng.activity.mapper;

import com.hucheng.activity.dto.UserPointDTO;
import com.hucheng.activity.entity.UserPointDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-10
 * @Description: 用户积分
 **/
@Mapper
public interface UserPointMapper {
    UserPointDO get(Integer userId);
    void updateSubtractPointByUserId(UserPointDO userPointDO);
    void updateAddPointByUserId(UserPointDO userPointDO);
}
